import { request } from "./request"


export const reqCategory = () => request('/category')

export const reqSubcategory = maitKey => request({ url: '/subcategory', params: { maitKey } })

export const reqCategoryDetail = (miniWallkey, type) => request({
    url: '/subcategory/detail',
    params: {
        miniWallkey, type
    }
}

)
